import request from "@/common/request"

//上下班考勤记录左树数据展示
export const leftTreeList = (queryForm) => {
    return request("get", "/system/sysDept/list", queryForm);
}

//上下班考勤记录分页展示
export const attendancerecordPage = (queryForm) => {
    return request("get", "/oa/attendanceRecord/page", queryForm);
}
//上下班考勤记录列表展示
export const attendancerecordList = (queryForm) => {
    return request("get", "/oa/attendanceRecord/list", queryForm);
}
//上下班考勤记录详情
export const attendancerecordInfo = (id) => {
    return request('get', '/oa/attendanceRecord/info', {
        id: id
    })
}
//上下班考勤记录信息保存
export const attendancerecordSave = (data) => {
    return request('post', '/oa/attendanceRecord/save', data)
}
//上下班考勤记录信息修改
export const attendancerecordEdit = (data) => {
    return request('post', '/oa/attendanceRecord/edit', data)
}
//上下班考勤记录信息删除
export const attendancerecordDel = (id) => {
    return request('post', '/oa/attendanceRecord/delete?id=' + id)
}
//上下班考勤记录批量删除
export const attendancerecordDelBatch = (ids) => {
    return request('post', '/oa/attendanceRecord/deleteBatch', ids)
}
//上下班考勤记录动态表头导出
export const attendancerecordDynamicExport = (data) => {
    return request("eptpost", '/oa/attendanceRecord/exportDynamic', data)
}
